<div class="header">
<?php if(!Yii::app()->user->isGuest) { ?>
	<div class="logout">
		<a href="<?php echo Yii::app()->createUrl('//site/logout') ?>">Đăng thoát</a>
	</div>
	
	<div class="login-name">
		Hi, <?php echo Yii::app()->user->data()->username ?>
	</div>
	
<?php }?>
</div>
